package com.yeyks.consumer.param;

import com.yeyks.common.param.consumer.UserIdParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UserAddressUpdateParam extends UserIdParam {

    @ApiModelProperty(value = "序号")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    @NotBlank
    private String receiveName;

    @ApiModelProperty(value = "电话")
    @NotBlank
    private String receivePhone;

    @ApiModelProperty(value = "收货地址")
    @NotBlank
    private String receiveAddress;

}
